package com.service.impl;

import java.util.List;

import com.dao.UserimgDao;
import com.enetiy.Userimg;
import com.service.UserimgService;

public class UersServiceImpl implements UserimgService {
	private UserimgDao userimgDao;
	  
	public List<Userimg> selectUser(int id) throws Exception {
		return userimgDao.selectUser(id);
	}

	  
	public void deleteUserImg(Userimg ui) throws Exception {
		userimgDao.deleteUserImg(ui);

	}

	  
	public void insetrUserImg(Userimg ui) throws Exception {
		userimgDao.insetrUserImg(ui);

	}

	public UserimgDao getUserimgDao() {
		return userimgDao;
	}

	public void setUserimgDao(UserimgDao userimgDao) {
		this.userimgDao = userimgDao;
	}

	  
	public Userimg selectUserImg(int id) throws Exception {
		return userimgDao.selectUserImg(id);
	}
}
